Look at it from the programmers view. How do you extract a parameter from the Query_String? The typical way is this: redirstr := @Left(@Right(Query_String + "&", "&redirectto="); "&");
Looking at your URL you are getting exactly what you ask for...
/names.nsf?Login&username=richard%20collette&password=xyz
&redirectto=http://etgdev5/HSBCT/Public.nsf/hsbctframeset?readform&header=/HSBCT/Public.nsf/Header?readform&leftnav=/HSBCT/Public.nsf/LeftNav?readform~-~BaseTarget=HSBCTBody&body=
http://etgdev5/HSBCT/public.nsf/codesstandards?openform HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */*